home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Cafe 3
/
Visual Cafe 3.ISO
/
Vcafe
/
Main.bin
/
InvalidArgumentException.java
< prev
next >
Wrap
Text File
|
1998-09-08
|
928b
|
49 lines
package com.symantec.itools.frameworks.application.commandline;
/**
* @author Symantec Internet Tools Division
* @version 1.0
* @since VCafe 3.0
*/
public class InvalidArgumentException
extends Exception
{
/**
* @since VCafe 3.0
*/
protected Throwable nestedThrowable;
public InvalidArgumentException()
{
}
public InvalidArgumentException( String s )
{
super(s);
}
public InvalidArgumentException(String s, Throwable t)
{
super(s + ":" + t.getMessage());
}
/**
* @since VCafe 3.0
*/
public String getMessage()
{
if(nestedThrowable == null)
{
return super.getMessage();
}
else
{
return super.getMessage() + "; nested exception is: \n\t" + nestedThrowable.toString();
}
}
}